package com.dic.mall.ware.feign;

import com.dic.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author ：leeliang
 * @date ：Created in 2021/2/28 21:33
 * @description：
 * @modified By：
 * @version: $
 */
@FeignClient("mall-gateway")
public interface ProductFeignService {
    /**
     * 信息
     */
    @RequestMapping("/api/product/skuinfo/info/{skuId}")
    public R info(@PathVariable("skuId") Long skuId);
}
